<html lang="en" xmlns:th="http://www.thymeleaf.org">
<!--请假管理-->
<head th:include="frame/fm/res :: headerTableCss">
    <meta charset="UTF-8"/>
    <title>请假管理</title>
</head>
<head th:include="frame/fm/res :: menuAut"/>
<body>
<!--签到查询列表页-->
<div>
    <!-- Main Content -->
    <div class="page-wrapper">
        <div class="container-fluid">
            <span th:replace="frame/fm/res :: breadcrumb"></span>
            <!-- Row -->
            <div class="row">
                <div>
                    <div class="panel panel-default card-view">

                        <div class="bs-bars pull-left">
                            <div id="toolbar" class="row">
                            <span class="col-md-6" style="width: auto;">
                                <div style="float: left">
                                    <div style="float: left;"><span class="form-control" style="display: table-cell;height:38px;width:100px;">审核人</span></div>
                                    <div style="float: left;margin-left: 5px;"><input type="text" name="auditorId" class="form-control" placeholder="审核人" id="auditorId" style="height: 38px;width: 200px;display: inline-block;"/></div>

                                    <div style="float: left;margin-left: 5px;"><span class="form-control" style="display: table-cell;height:38px;width:100px;">请假人</span></div>
                                    <div style="float: left;margin-left: 5px;"><input type="text" name="userId" class="form-control" placeholder="请假人" id="userId" style="height: 38px;width: 200px;display: inline-block;"/></div>

                                    <div style="float: left;margin-left: 5px;"><span class="form-control" style="display: table-cell;height:38px;width:100px;">状态</span></div>
                                    <div style="float: left;margin-left: 5px;"><select class="form-control" id="status" style="height: 38px;width: 200px;display: inline-block;">
                                    <option value="0">无效</option>
                                    <option value="1">有效</option>
                                </select></div>
                                </div>

                 </span><span class="col-md-6" style="width: auto;padding-top:10px;">
                     <div style="float: left">
                                    <div style="float: left;"><span class="form-control" style="display: table-cell;height:38px;width:100px;">开始时间</span></div>
                                    <div style="float: left;margin-left: 5px;"><input type="date" class="form-control"  placeholder="请输入开始时间" name="startTime" id="startTime"  style="height: 38px;width: 200px;display: inline-block;"/></div>

                                    <div style="float: left;margin-left: 5px;"><span class="form-control" style="display: table-cell;height:38px;width:100px;">结束时间</span></div>
                                    <div style="float: left;margin-left: 5px;"><input type="date" class="form-control"  placeholder="请输入结束时间" name="endTime" id="endTime"  style="height: 38px;width: 200px;display: inline-block;"/></div>
                                </div>
                     <button class="btn btn-primary btn-icon-anim btn-square btn-sm" style=" width: 80px;margin-left: 20px;" title="搜索" onclick="leave.queryLeaveByMap()">
                         <i class="zmdi zmdi-search-sch"></i>
                     </button>
                 </span>
                            </div>
                        </div>


                        <div class="clearfix"></div>
                        <div class="panel-wrapper collapse in">
                            <div class="panel-body">
                                <div class="table-wrap">
                                    <table id="tableLeaveList"></table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<span th:include="frame/fm/res :: headerTableJs"></span>
<script type="text/javascript" th:src="${application.staticUrl}+'base/leave/js/leave.js'"></script>
</body>
</html>
